.coupon-wrapper {
  background: #fff;
  padding-bottom: 20px;
}

.coupon-no-bottom {
  padding-bottom: 0 !important;
}

.couponBox-list-layout {
  .layout-body {
    padding-bottom: calc(env(safe-area-inset-bottom) + 130px);
  }
}

.coupon-place-holder-height {
  height: calc(env(safe-area-inset-bottom) + 60Px);
}

.groupDetail-couponWrapper {
  .couponBox {
    border-radius: 64px !important;
    height: 72px;
  }

  .couponBox-go {
    width: inherit !important;
    position: relative;
    left: 0;
    white-space: nowrap;
  }
}

.min-top-coupon {
  margin-top: -10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  height: 88px;

  .couponBox {
    padding-top: 8px;
    height: 88px;
  }
}

.couponBox {
  min-height: 74px;
  background: #faebe9;
  padding: 0 24px;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;

  .coupon-label-price {
    font-family: Avenir;
  }

  .couponBox-lq {
    width: 40px;
    height: 34px;
    display: flex;
    align-items: center;
    margin-right: 24px;
  }

  .couponBox-lable {
    height: 32px;
    width: 525px;
    font-size: 0;

    text, .taro-text {
      display: inline-block;
      padding-right: 14px;
      height: 32px;
      line-height: 32px;
      font-size: 24px;
      color: #f73c01;
    }
  }

  .couponBox-go {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 24px;
    color: #ee713b;
  }
}

.couponBox-item {
  border: 1Px solid #feded1;
  border-radius: 26px;
  box-sizing: border-box;
  height: 220px;
  margin: 30px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  &:first-child {
    margin-top: 16px;
  }

  .left {
    border-top-left-radius: 26px;
    border-bottom-left-radius: 26px;
    background-color: #fef1eb;
    position: relative;
    width: 220px;
    height: 100%;
    color: #fe4a12;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .left-top {
      overflow: hidden;
      width: 220px;
      text-align: center;
      position: relative;
      top: -10px;
      font-size: 36px;
      text, .taro-text {
        position: relative;
        left: -6px;
        font-size: 46px;
      }
    }

    .left-bottom {
      color: #fe4a12;
      overflow: hidden;
      width: 220px;
      text-align: center;
      top: -10px;
      font-size: 26px;
      opacity: 0.79;
    }
  }


  .left-content {
    position: absolute;
    content: '';
    width: 32px;
    height: 32px;
    top: -22px;
    right: -16px;
    background: #fff;
    border-radius: 50%;
    border-bottom: 1Px solid #feded1;
  }

  .right-content {
    position: absolute;
    content: '';
    width: 32px;
    height: 32px;
    bottom: -22px;
    right: -16px;
    background: #fff;
    border-radius: 50%;
    border-bottom: 1Px solid #feded1;
    transform: rotate(180deg);
  }

  .right {
    position: relative;
    overflow: hidden;
    text-align: left;
    box-sizing: border-box;
    padding-left: 30px;
    width: 100%;
    height: 100%;

    .right-name {
      font-weight: bold;
      font-size: 30px;
      color: #252525;
      line-height: 60px;
      padding-top: 14px;
    }

    .right-manjian, .right-yxq {
      background-color: #fef1eb;
      padding: 10px 20px;
      border-radius: 4px;
      text-align: center;
      font-size: 24px;
      color: #fe4a12;
      width: fit-content;
    }
    .right-receive-btn{
      position: absolute;
      right: 0 !important;
      bottom: 20px !important;
    }
    .right-receive {
      margin-right: 20px;
      font-size: 24px;
      color: #fe4a12;
      width: 140px;
      height: 46px;
      border-radius: 32px;
      text-align: center;
      line-height: 44px;
      font-weight: bold;
      border: 1Px solid #fe4a12;
    }

    .right-end {
      width: 130px;
      height: 130px;
      position: absolute;
      right: 12px;
      top: 14px;
    }
  }
}
